import { CommonDrawerType } from "../constant";
import { drawerManager, useDrawerFactory } from "../index";

import OutboundDrawer from "../../components/outbound-drawer.vue";

export interface OutboundDrawerMountOptions {
  id?: any;
}

export const outboundDrawer =
  drawerManager.register<OutboundDrawerMountOptions>(
    CommonDrawerType.OutboundDrawer,
    OutboundDrawer,
    "OutboundDrawer",
    "出库单"
  );

export const useOutboundDrawer = useDrawerFactory(outboundDrawer);
